Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch OpenGL code to use a Core 4.5 profile #966

Closed
wants to merge 1 commit into from

Conversation

Julusian
Copy link
Member

@Julusian Julusian commented Apr 15, 2018

Fixes #937

The OpenGL code for the mixer and screen consumer has been updated to use a OpenGL 4.5 Core profile context. This has been tested on Debian 10 on an Intel HD5500. It should help on both windows and linux when the GPU claims to support OpenGL 4.5 but CasparCG doesn't detect that functionality.

Some of the code could do with review by someone who knows OpenGL. In particular I'm not sure what some of the bits I removed from the shader did, and it feels wrong to be creating buffers so often in the kernel during drawing, but I'm not sure where best to do so.

The diag window is still using a compatibility profile, but it is still runs even on linux.

I think this is best left to 2.3, as there is some risk of breaking things or decreased performance. Unless it gets sufficient testing before 2.2 is released

Windows: https://drive.google.com/open?id=1IXqVzTflx9-D1fsrCJ2ufl1XBMIqMUza
Ubuntu18: https://drive.google.com/open?id=1ialg921IzdVlWvpA0JZn6Tsh2SrS-JPd

@Julusian Julusian changed the title feat(opengl): Switch OpenGL code to use a Core 4.5 profile Switch OpenGL code to use a Core 4.5 profile Apr 15, 2018
@Julusian Julusian mentioned this pull request Apr 15, 2018
@dotarmin dotarmin added this to the 2.2.0 milestone Apr 26, 2018
@ronag
Copy link
Member

ronag commented May 4, 2018

merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants